package com.seu.githubcn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@TableName("user_action")
@Data
public class UserAction {
    @TableId(type = IdType.AUTO)
    private Integer actionId;
    private Integer userId;
    private Integer repoId;
    private ActionName actionName;

    public enum ActionName{
        FORK,
        STAR
    }
}
